﻿using System;

namespace ProtocolParser.TextParser
{
    interface ITextParser
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="formatPath">path of format file</param>
        /// <param name="contentPath">path of content file</param>
        /// <returns>path of result file</returns>
        string Parse(string formatPath, string contentPath);

        /// <summary>
        /// 
        /// </summary>
        /// <param name="type"></param>
        /// <param name="formatPath">path of format file</param>
        /// <param name="contentPath">path of content file</param>
        /// <returns></returns>
        object Parse(Type type, string formatPath, string contentPath);
    }
}
